package com.sxs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxs.entity.EduSubject;
import com.sxs.entity.vo.SubjectVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.List;

/**
 * 课程科目(EduSubject)表服务接口
 *
 * @author makejava
 * @since 2021-09-27 16:49:36
 */
public interface EduSubjectService extends IService<EduSubject> {

    /**
     * 新增课程
     * @param file
     * @param eduSubjectService
     */
    void saveSubject(MultipartFile file,EduSubjectService eduSubjectService);

    /**
     * 查询全部课程
     * @return List
     */
    List<SubjectVO> listWithTree();

    EduSubject findById(String id);
}
